package com.uton.mvp_demo.model;


import android.os.Handler;

/**
 * Created by jackwang on 2018/4/8.
 */

public class WeatherModel extends BaseModel{

    @Override
    public void getData(final ICallback callback) {
        //模拟耗时操作
        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                callback.action("北京今天的天气：太tm冷了");
            }
        },2000);
    }
}
